package com.demo2do.fms.admin.service.report;

import java.util.List;

import com.demo2do.core.entity.page.Page;
import com.demo2do.fms.admin.service.DataService;
import com.demo2do.fms.entity.report.DriverMileageAppointment;

/**
 *
 * @author Ark
 *
 */
public interface DriverMileageAppointmentService extends DataService<DriverMileageAppointment> {

    /**
     * @param orgIds
     * @return
     */
    public int count(List<Long> orgIds);
    
    /**
     * @param orgIds
     * @param page
     * @return
     */
    public List<DriverMileageAppointment> list(List<Long> orgIds, Page page);
    
    /**
     * @param appointment
     * @param operator
     */
    public void create(DriverMileageAppointment appointment, Long operator);
    
    /**
     * @param appointment
     * @param operator
     */
    public void delete(DriverMileageAppointment appointment, Long operator);
    
}
